package org.csu.forum.domain.VO;

import lombok.Data;
import org.csu.forum.domain.PO.Account;
import org.csu.forum.domain.PO.Friend;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@Component

public class AllFriendVO implements Serializable {

    private Friend friend;

    private Account account;

    AllFriendVO(){
        this.friend = new Friend();
        this.account = new Account();
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public Friend getFriend() { return friend;}

    public void serFriend(Friend friend){ this.friend = friend;}



}
